// server.js
require('dotenv').config();
const app = require('./app');

const PORT = process.env.PORT || 3000;

app.listen(PORT, () => {
  console.log(`服务器正在端口 ${PORT} 上运行`);
  console.log(`API文档可访问: http://localhost:${PORT}/api-docs`);
});